﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProfileEdit.aspx.cs" Inherits="ADECMS.UserPages.ProfileEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
<link href="../Css/ADEStylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
        <table style="height: 150px;">
            <tr>
                <td style="font-family: Segoe Script; font-size: 48px; color: Purple; width: 20%;">
                    <a href="Start.aspx" style="font-family: Segoe Script; font-size: 48px; color: Purple; width: 20%; text-decoration:none;">
                    ADE
                    </a>
                </td>
                <td>
                    <asp:Label ID="Label5" runat="server" CssClass="inputLabel"></asp:Label>
                    &nbsp;
                    &nbsp;
                    </td>
            </tr>
            <tr>
                <td colspan="2" style="height: 45px;">
                    &nbsp;
                </td>
            </tr>
        </table>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Menu ID="Menu1" runat="server" Height="35px" onmenuitemclick="Menu1_MenuItemClick" 
                        Orientation="Horizontal" Width="664px" MaximumDynamicDisplayLevels="4" 
                    DisappearAfter="2000" Font-Bold="True" Font-Size="Small" ForeColor="Black">
                    <DynamicHoverStyle BackColor="#666666" />
                    <DynamicMenuStyle BackColor="Silver" />
                    <DynamicMenuItemStyle BackColor="Silver" />
                    <StaticHoverStyle BackColor="Gray" />
                    <Items>
                        <asp:MenuItem Text="Sign out" Value="Sign out"></asp:MenuItem>
                        <asp:MenuItem Text="Novosti" Value="Novosti">
                            <asp:MenuItem Text="Dodaj novost" Value="Dodaj novost" 
                                    Target="/UserPages/AddNews.aspx"></asp:MenuItem>
                            <asp:MenuItem Target="/UserPages/Search.aspx" 
                                    Text="Pretraga" Value="Pretraga"></asp:MenuItem>
                        </asp:MenuItem>
                        <asp:MenuItem Text="File manager" Value="File manager">
                            <asp:MenuItem Text="File upload" Value="File upload"></asp:MenuItem>
                             <asp:MenuItem Text="File download" Value="File download"></asp:MenuItem>
                        </asp:MenuItem>
                        <asp:MenuItem Text="Slide manager" Value="Slide manager">
                            <asp:MenuItem Text="Upload prezentacije" Value="Upload prezentacije">
                            </asp:MenuItem>
                            <asp:MenuItem Text="Pregled prezentacije" Value="Pregled prezentacije">
                            </asp:MenuItem>
                        </asp:MenuItem>
                        <asp:MenuItem Text="Profili" Value="Profili">
                            <asp:MenuItem Text="Pregledaj profil" 
                                    Value="Pregledaj profil"></asp:MenuItem>
                            <asp:MenuItem Text="Edituj profil" Value="Edituj profil"></asp:MenuItem>
                        </asp:MenuItem>
                    </Items>
                </asp:Menu>
            </ContentTemplate>
        </asp:UpdatePanel>
        <table>
            <tr style="height:20px">
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr style="height:20px">
                <td>
                    <asp:Label ID="Label118" runat="server" Text="Edituj profil:" 
                        CssClass="registracijaHeader"></asp:Label>
                </td>
            </tr>
            <tr style="height:20px">
                <td>
                    &nbsp;
                    
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td style="width:200px">
                    &nbsp;
                </td>
                <td> 
        <table width="100%">
            <tr>
                <td>
                    <asp:Image ID="Image1" runat="server" Height="197px" />
                </td>
            </tr>
            <tr>
                <td style="height:40px;">
                    <asp:CheckBox ID="CheckBoxAvatar" runat="server" Text="Izbrisi avatar"  CssClass="inputLabel" />
                </td>
            </tr>
            <tr>
                <td style="height:40px;">
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="Ime: "  CssClass="inputLabel"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="Ime" runat="server" CssClass="inputText"></asp:TextBox>
                    <asp:Label ID="Label15" runat="server" ForeColor="Red" Text="*    "></asp:Label>
                    <asp:Label ID="LabelIme" runat="server" CssClass="inputObligatory"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="Prezime: "  CssClass="inputLabel"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="Prezime" runat="server" CssClass="inputText"></asp:TextBox>
                    <asp:Label ID="Label6" runat="server" ForeColor="Red" Text="*    "></asp:Label>
                    <asp:Label ID="LabelPrezime" runat="server" CssClass="inputObligatory"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label3" runat="server" Text="Korisničko ime: "  CssClass="inputLabel"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="UserName" runat="server" CssClass="inputText"></asp:TextBox>
                    <asp:Label ID="Label7" runat="server" ForeColor="Red" Text="*    "></asp:Label>
                    <asp:Label ID="LabelUserName" runat="server" CssClass="inputObligatory"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label4" runat="server" Text="Šifra: "  CssClass="inputLabel"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="Pass" runat="server" TextMode="Password" CssClass="inputText"></asp:TextBox>
                    <asp:Label ID="Label8" runat="server" ForeColor="Red" Text="*  "></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label9" runat="server" Text=" Potvrdi šifru"  CssClass="inputLabel"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="PassConf" runat="server" TextMode="Password" CssClass="inputText"></asp:TextBox>
                    <asp:Label ID="Label10" runat="server" ForeColor="Red" Text="*    "></asp:Label>
                    <asp:Label ID="LabelPass" runat="server" CssClass="inputObligatory"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label14" runat="server" Text="Email: "  CssClass="inputLabel"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="email1" runat="server" CssClass="inputText"></asp:TextBox>
                    <asp:Label ID="Label13" runat="server" ForeColor="Red" Text="*    "></asp:Label>
                    <asp:Label ID="LabelEmail" runat="server" CssClass="inputObligatory"></asp:Label>
                </td>
            </tr>
        </table>
        <hr />
        <table>
            <tr>
                <td colspan="2">
                    <asp:Label ID="Label18" runat="server" CssClass="inputDodatneOpcije"
                            Text="Dodatne opcije"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="Label16" runat="server" Text="Opis: " CssClass="inputLabel"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="Opis" runat="server" Height="119px" TextMode="MultiLine" 
                            CssClass="inputArea"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label17" runat="server" Text="Avatar: " CssClass="inputLabel"></asp:Label>
                </td>
                <td>
                    <asp:FileUpload ID="AvatarUpload" runat="server" CssClass="inputText" />
                    <asp:Label ID="LabelAvatarUpload" runat="server" CssClass="inputLabel"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="height:70px;">
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                        style="margin-left: 141px" Text="Back" />
                    <asp:Button ID="Submit" runat="server" Height="26px" onclick="Submit_Click" 
                        style="margin-left: 42px" Text="Submit" />
                </td>
            </tr>
        </table>
        </td>
        </tr>
        </table>
    </form>
</body>
</html>
